Xbasic

INET::Socket::Peek Method

Syntax

Result_Flag as L = Peek(Data BYREF as C, LengthRequested as N)

Arguments

Result_Flag

TRUE (.T.) if the operation was successful; otherwise FALSE (.F.).

Data

The data read by the method.

LengthRequested

The number of characters to read.

Description

The INET::Socket::Peek() method reads received characters from into a string. Peek()does not remove the characters from the receive buffer.

See Also